home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d17 / cover.arc / COVER.DOC < prev    next >
Text File  |  1985-12-27  |  2KB  |  43 lines

  1.  
  2.   COVER is a utility to print a sorted directory listing in such a
  3. format as to allow the listing to be cut and inserted into the sleeve
  4. with the diskette.  It was written by Dan Daetwyler of Arkansas and
  5. first published (and placed in the public domain) in the January 1984
  6. issue of "Dr. Dobb's Journal".  Anyone interested in the details is
  7. referred to that issue.
  8.  
  9.   To run, insert diskette with the program in the default drive and
  10. type COVER.  The program will prompt you for the ID of the drive that
  11. contains the diskette to be listed.  Type the appropriate letter
  12. (either case) ONLY -- no colon or RETURN.  The program will then ask
  13. for a title to appear on the listing.  The title may be up to
  14. forty-four characters; if you do not want a title, simple press ENTER.
  15. This process continues until ESC is entered at the drive ID prompt. The
  16. program prints two envelope covers per page; if exited via ESC, it will
  17. advance the paper to Top-of-Form and restore the printer to its power
  18. up defaults.
  19.  
  20.   The program issues Epson printer control codes for selecting
  21. compressed print, 1/8 inch line spacing, and 44 lines to the logical
  22. 'page'.  Those with IBM/Epson printers should be able to use COVER as
  23. is.  Those with a printer that uses different control codes with have
  24. to 'patch' the program (using DEBUG or some other such program).  The
  25. sequence to initialize the printer begins at location 13C; the Epson
  26. sequence is six bytes long (1B 30 1B 43 2C 0F) but it is padded with
  27. zeros so that there is room for eleven codes altogether. The string
  28. MUST terminate with a zero for the DOS call to work correctly.  The
  29. printer restore sequence is two bytes long (1B 40) and begins at
  30. location 148; again, it is padded with five extra zeros for patching
  31. room.  If this is insufficient for setting up your printer, you might
  32. try zeroing these sequences out and setting up your printer outside the
  33. COVER program.
  34.  
  35.   NOTE:  Cover issues ONLY the DOS call interupt.  This should insure
  36. that it can run on any MS-DOS machine not just the IBM compatibles.
  37. It has been successfully run on a TI Professional Computer with no
  38. modification whatsoever.
  39. 
  40.  
  41. t the IBM compatibles.
  42. It has been successfully run on a TI Professional Computer with no
  43. modification whatsoever.